package cn.edu.scau.info.hhb.jReflashDns;

public class Domain {
	
	public final static int TYPE_PUBLIC=0;
	public final static int TYPE_LOCAL=1;
	
	
	private final String iface;
	private final String ipMatch;
	private final String ipDismatch;
	private final int type;
	private final String oaryUsr;
	private final String orayPasswd;
	private final String orayDomain;
	public Domain(String iface, String ipMatch, String ipDismatch, int type,
			String oaryUsr, String orayPasswd, String orayDomain) {
		super();
		this.iface = iface;
		this.ipMatch = ipMatch;
		this.ipDismatch = ipDismatch;
		this.type = type;
		this.oaryUsr = oaryUsr;
		this.orayPasswd = orayPasswd;
		this.orayDomain = orayDomain;
	}
	public static int getTypePublic() {
		return TYPE_PUBLIC;
	}
	public static int getTypeLocal() {
		return TYPE_LOCAL;
	}
	public String getIface() {
		return iface;
	}
	public String getIpMatch() {
		return ipMatch;
	}
	public String getIpDismatch() {
		return ipDismatch;
	}
	public int getType() {
		return type;
	}
	public String getOaryUsr() {
		return oaryUsr;
	}
	public String getOrayPasswd() {
		return orayPasswd;
	}
	public String getOrayDomain() {
		return orayDomain;
	}
	@Override
	public String toString() {
		return "Domain [iface=" + iface + ", ipMatch=" + ipMatch
				+ ", ipDismatch=" + ipDismatch + ", type=" + type
				+ ", oaryUsr=" + oaryUsr + ", orayPasswd=" + orayPasswd
				+ ", orayDomain=" + orayDomain + "]";
	}
	
	
	
	
}
